<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <ul class="sidebar-menu">
                <li class="header">内容管理系统</li>
            <volist name="initMenu" id="vm">
                    <if condition="$vm.menu_level == 1">
                        <li class=" <if condition="$vm.menu_con == CONTROLLER_NAME">active</if> treeview">
                            <a href="#">
                                <i class="{$vm.menu_inc}"></i> <span>{$vm.menu_name}</span>
                                <span class="pull-right-container">
                                  <i class="fa fa-angle-left pull-right"></i>
                               </span>
                            </a>
                            <ul class="treeview-menu">
                                <volist name="initMenu" id="vmm">
                                    <if condition="$vmm.menu_level == 2 && $vm.menu_id == $vmm.parent_id">
                                        <li class="<if condition="strtolower($vmm.menu_act) == ACTION_NAME">active</if>" >
                                            <a href="{:U($vmm.menu_con .'\/' .$vmm.menu_act)}"><i class="{$vmm.menu_inc}"></i>{$vmm.menu_name}</a>
                                        </li>
                                    </if>
                                </volist>
                            </ul>
                        </li>
                </if>
            </volist>
        </ul>
    </section>
    <!-- /.sidebar -->
</aside>
